package cn.juque.datapipeline.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author juque
 * @version 1.0.0
 * <ul>
 *     <li>ProportiesConfig</li>
 * </ul>
 * @date 2023-03-30 23:29:30
 **/
@Component("propertiesConfig")
public class PropertiesConfig {

    @Value("${data-pipeline.user.hmac-secret}")
    private String hmacSecret;

    @Value("${data-pipeline.rsa.private-key}")
    private String rsaPrivateKey;

    @Value("${data-pipeline.rsa.public-key}")
    private String rsaPublicKey;

    @Value("${data-pipeline.bind-ip}")
    private String bindIp;

    public String getHmacSecret() {
        return hmacSecret;
    }

    public String getRsaPrivateKey() {
        return rsaPrivateKey;
    }

    public String getRsaPublicKey() {
        return rsaPublicKey;
    }

    public String getBindIp() {
        return bindIp;
    }
}
